package com.njh.check.service;

import com.njh.check.vo.CheckingResultImgVo;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author ：njh
 * @date ：Created in 2023/12/19 16:02
 * @description：
 * @modified By：
 * @version:
 */
public interface FileService {

    /**
     * @create by: njh
     * @description: 头像的上传
     * @create time: 2023/10/8 11:18
     * @param file
     * @return
     */
    public CheckingResultImgVo upload(MultipartFile file);

    /**
     * @create by: njh
     * @description: 头像上传的取消,删除已经上传的图片
     * @create time: 2023/10/8 11:18
     * @param pictureUrl
     * @return
     */
    public void removeFile(String pictureUrl);
}